package shopweb.pojo;

import java.util.Date;

public class Comment {
    private int id;
    private int ProductId;
    private int userId;
    private String comment;
    private int score;
    private Date createTime;

    public Comment() {
    }

    public Comment(int id, int productId, int userId, String comment, int score, Date createTime) {
        this.id = id;
        ProductId = productId;
        this.userId = userId;
        this.comment = comment;
        this.score = score;
        this.createTime = createTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getProductId() {
        return ProductId;
    }

    public void setProductId(int productId) {
        ProductId = productId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
